﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YiLe.Model.Domain;

namespace YiLe.BLL.Service
{
    public interface IUserService:IService<User, int>
    {
        /**
        User Get(int userid);
        IList<User> GetAll();
        int Save(User user);
        void Update(User user);
        void Delete(User user);
        */
        User Get(string loginname, string loginpwd);
        bool Login(string loginname, string loginpwd);
        IList<User> Search(User user);
    }
}
